/*
 * Copyright(c) 2018-? the original author[Wien(luweien@aliyun.com)] or authors.
 *
 */
package org.doll.it.linde.domain;

import org.doll.it.base.domain.DollDO;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 附件DO
 * 
 * @author Wien(luweien@aliyun.com)
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@Document
public class AttachmentDO extends DollDO {

	private static final long serialVersionUID = -6744650916871929139L;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 路径前缀
	 */
	private String prifix;

	/**
	 * 路径
	 */
	private String path;

	/**
	 * 大小: K
	 */
	private Double sizeK;

}
